<?php
/** @var TEmpleadoController $this */
/** @var TEmpleado $data */
?>
<div class="view">
                    
        <?php if (!empty($data->per_id)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('per_id')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->per_id); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->pro_id)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('pro_id')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->pro_id); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->cap_id)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('cap_id')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->cap_id); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->cav_id)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('cav_id')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->cav_id); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->emp_observaciones)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('emp_observaciones')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->emp_observaciones); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->ees_id)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('ees_id')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->ees_id); ?>
            </div>
        </div>

        <?php endif; ?>
    </div>